package com.fourhats.services;

import java.util.List;

import org.springframework.stereotype.Service;

import com.fourhats.exception.PlaceException;
import com.fourhats.model.Place;
import com.fourhats.services.dto.PlaceDto;

@Service
public interface PlaceService {
	
	public PlaceDto getPlaceById(long id);
	
	public List<PlaceDto> getAllEnabledPlaces() throws PlaceException;
	
	public long addPlace(Place place) throws PlaceException;
	
	public List<PlaceDto> getNearbyPlaces(double lat, double lng, float distance) throws PlaceException;
}
